home *** CD-ROM | disk | FTP | other *** search
/ CD BIT 75 / CD BIT 75.iso / Software / SinfoSeguros / MSDE / readme.txt < prev    next >
Encoding:
Text File  |  2002-10-20  |  41.4 KB  |  928 lines

  1. ***************************************************************
  2.                             NOTICE
  3. ***************************************************************
  4. This readme.txt file was included with the original release
  5. of SQL Server 2000; it is not relevant for this service pack.
  6.  
  7. For information about SQL Server 2000 Service Pack 3,
  8. see the sp3readme.htm file located in the same folder
  9. as this file.
  10.  
  11. ***************************************************************
  12.            Microsoft SQL Server 2000 Readme File
  13.                         July 31, 2000
  14. ***************************************************************
  15. (c) Copyright Microsoft Corporation, 2000. All rights reserved.
  16.  
  17. This file contains information that supplements the Microsoft 
  18. SQL Server 2000 documentation.
  19.  
  20. ***************************************************************
  21. Contents
  22. ***************************************************************
  23. 1.0 Introduction
  24. 2.0 Installing SQL Server 2000
  25.     2.1 System Requirements
  26.     2.2 Do Not Install Analysis Services to a DBCS Folder
  27.     2.3 Installing Analysis Services Samples
  28.     2.4 Updating Statistics After Upgrading from SQL Server 7.0
  29.     2.5 Minimum SQL Server Installation Components
  30.     2.6 Requirements for Active Directory Integration
  31.     2.7 Silverston Samples Are Not Installed
  32.     2.8 Installation Help on Windows 95
  33.     2.9 Installing SQL Server 2000 with SQL Server Version 6.5
  34. 3.0 Documentation Notes    
  35.     3.1 SQL Server Core Components Notes
  36.       3.1.1 Replication and Host Integration Server
  37.       3.1.2 Backup/Restore APIs for Independent Software Vendors
  38.       3.1.3 Executing DTS Custom Tasks Created in Visual Basic
  39.       3.1.4 Desktop Engine Setup Parameters
  40.       3.1.5 Adding Properties to DTS Custom Tasks
  41.       3.1.6 @@TRANCOUNT and COMMIT in Triggers
  42.       3.1.7 Behavior of Wildcard and Escape Characters
  43.       3.1.8 Changing the SQL Server Agent Service Account 
  44.       3.1.9 Adding Pure Unicode Error Messages
  45.       3.1.10 DTS Using ActiveX Scripting After Uninstalling 
  46.              SQL Server 7.0
  47.       3.1.11 Removing Secondary Databases for Log Shipping 
  48.       3.1.12 ODBC API: SQLGetConnectAttr
  49.       3.1.13 Connecting Early Version Clients to Named Instances
  50.       3.1.14 SQL Server Sometimes Cannot Open Static IP Port
  51.              Addresses
  52.       3.1.15 SQLSetConnectAttr and the Connection Attribute
  53.              SQL_COPT_SS_PRESERVE_CURSORS
  54.       3.1.16 SQLEndTran
  55.       3.1.17 Permissions for Active Directory Integration
  56.       3.1.18 srv_pfield (Extended Stored Procedures Programming)
  57.       3.1.19 Using the MSX Wizard with Windows Authentication
  58.       3.1.20 Updating a Table on a Linked Server  
  59.       3.1.21 Effects of Locking Hints on READ_ONLY Cursors
  60.       3.1.22 Adding Dependencies to the SQL Server Resource
  61.       3.1.23 Upgrading from MSDE 1.0 to SQL Server 2000 
  62.              Desktop Engine
  63.       3.1.24 Microsoft Search Service
  64.       3.1.25 References to Windows 95
  65.       3.1.26 Full-Text Catalogs Inaccessible After Changing 
  66.              SQL Server Account
  67.       3.1.27 Recommendations for Designing Distributed 
  68.              Partitioned Views
  69.     3.2 SQL Server Books Online Functionality Notes
  70.       3.2.1 Link to MDAC and XML Documentation Does Not Work
  71.       3.2.2 Printing Limitations 
  72.     3.3 English Query   
  73.       3.3.1 SaveProjectToXMLDom Method  
  74.       3.3.2 Automatic Clarification of Questions Feature
  75.     3.4 Analysis Services
  76.       3.4.1 Before Registering Analysis Services Performance
  77.             Monitoring Counters on Windows NT 4.0
  78.       3.4.2 Distinct Count Aggregate Function
  79.       3.4.3 UPDATE CUBE Statement
  80.       3.4.4 Process Databases After Upgrading from Beta 2
  81.  
  82. ***************************************************************
  83. 1.0 Introduction
  84. ***************************************************************
  85. This file contains important information you should read
  86. before installing Microsoft SQL Server 2000.
  87.  
  88. SQL Server 2000 builds on and extends the performance,
  89. reliability, quality, and ease of use of SQL Server version
  90. 7.0. It also includes a number of new features that further
  91. establish SQL Server as the best database platform for OLTP,
  92. data warehousing, and e-commerce applications.
  93.  
  94. ***************************************************************
  95. 2.0 Installing SQL Server 2000
  96. ***************************************************************
  97. Microsoft SQL Server 2000 documentation is available from these 
  98. sources:
  99.  
  100. * The Microsoft SQL Server 2000 Introduction manual in the 
  101.   SQL Server 2000 box.
  102. * F1 Help available on the SQL Server Setup windows. You can
  103.   also open the SQL Server Setup Help file from the autorun
  104.   installation menu.
  105. * You can perform a custom setup and select only the Books
  106.   Online component to install the SQL Server Books Online
  107.   documentation on the hard drive of your computer.
  108.  
  109. The complete SQL Server Books Online documentation for SQL 
  110. Server 2000 cannot be opened from the SQL Server 2000 compact 
  111. disc. SQL Server Books Online must be installed to your local 
  112. hard drive before it can be opened. The installation 
  113. documentation in the Microsoft SQL Server 2000 Introduction 
  114. manual does not include some items that arose after the manual 
  115. was printed. These items are covered in both SQL Server Books 
  116. Online and the SQL Server Setup Help file.
  117.  
  118. Use the autorun setup program on the SQL Server 2000 compact 
  119. disc to install the SQL Server 2000 components. The autorun 
  120. setup program is executed automatically when you insert the 
  121. compact disc in the drive. You can also execute it by selecting 
  122. the Autorun.exe program in the root folder of the SQL Server 
  123. 2000 compact disc. Although there is a Setup.exe program in the 
  124. SQLMSDE folder of the SQL Server 2000 compact disc, this program
  125. is intended to be used by applications that must install the 
  126. SQL Server 2000 Desktop Engine during their installation 
  127. process. The Desktop Engine Setup is not intended for installing 
  128. the SQL Server 2000 components from the compact disc. For more 
  129. information about distributing SQL Server applications, see 
  130. SQL Server Books Online.
  131.  
  132. SQL Server Books Online is a collection of HTML Help documents 
  133. and requires Microsoft Internet Explorer version 5.0. Internet 
  134. Explorer 5.0 can be downloaded from http://microsoft.com/ie.
  135.  
  136. For users of SQL Server version 7.0 who are installing SQL
  137. Server 2000 for the first time, these new features are chosen 
  138. during setup:
  139.  
  140. * You can install multiple instances of SQL Server on one
  141.   computer. 
  142. * Failover clustering has been integrated with SQL Server
  143.   Setup. 
  144. * A SQL Server collation must be specified instead of a code
  145.   page and sort order. 
  146.  
  147. For more information about these features, see SQL Server
  148. Books Online.
  149.  
  150. When upgrading SQL Server version 6.5 to an instance of SQL
  151. Server 2000 on the same computer, you must have first applied
  152. SQL Server version 6.5 Service Pack 5 (SP5) or later. When
  153. upgrading SQL Server version 6.5 to an instance of SQL Server
  154. 2000 on a different computer, you must have first applied SQL
  155. Server version 6.5 Service Pack 3 (SP3) or later.
  156.  
  157. Service Pack 5a, which is the most current service pack for
  158. SQL Server version 6.5, is available at
  159. http://support.microsoft.com/support/sql.
  160.  
  161. There are two ways to upgrade from an installation of SQL
  162. Server version 6.0 to an installation of SQL Server 2000:
  163.  
  164. * You can upgrade the installation of SQL Server 6.0 to
  165.   SQL Server 6.5, and then use the SQL Server 2000 Upgrade 
  166.   Wizard to upgrade the installation of SQL Server 6.5 to
  167.   SQL Server 2000.
  168. * You can upgrade the installation of SQL Server 6.0 to
  169.   SQL Server 7.0, and then use SQL Server 2000 Setup to upgrade 
  170.   the installation SQL Server 7.0 to SQL Server 2000.
  171.  
  172. For more information, see "Upgrading an Existing Installation of 
  173. SQL Server" in either SQL Server Books Online or the Microsoft 
  174. SQL Server 2000 Introduction manual.
  175.  
  176. -----------------------
  177. 2.1 System Requirements
  178. -----------------------
  179. Microsoft SQL Server 2000 operates on computers running Intel 
  180. or compatible Pentium, Pentium Pro, or Pentium II processors.
  181. The processor must be running at a minimum of 166 MHz.
  182.  
  183. The editions and versions of SQL Server 2000 have these
  184. memory (RAM) requirements:
  185.  
  186.     Enterprise Edition     64 MB of minimum, 128 MB recommended
  187.     Standard Edition       64 MB of minimum
  188.     Personal Edition       64 MB on Windows 2000, 32 MB on all
  189.                            other operating systems
  190.     Developer Edition      64 MB of minimum
  191.     Desktop Engine         64 MB minimum on Windows 2000, 32 MB
  192.                            on all other operating systems
  193.  
  194. SQL Server 2000 has the following hard drive requirements,
  195. depending on the components and setup option selected:
  196.  
  197.     Database components      95 to 270 MB, 250 MB typical
  198.     Analysis Services        50 MB minimum, 130 MB typical
  199.     English Query            80 MB
  200.     Desktop Engine only      44 MB
  201.  
  202. SQL Server 2000 requires a monitor with VGA resolution; the
  203. SQL Server graphical tools require a monitor with 800x600
  204. resolution or higher.
  205.  
  206. SQL Server 2000 requires a CD-ROM drive, and a Microsoft
  207. Mouse or compatible pointing device.
  208.  
  209. SQL Server 2000 requires Internet Explorer 5.0 or later and
  210. is supported on these operating systems:
  211.  
  212.     * Windows 2000
  213.     * Microsoft Windows NT version 4.0 Service Pack 5 or later
  214.     * Windows Millennium Edition
  215.     * Windows 98
  216.     * Windows 95 (client connectivity option only)
  217.  
  218. The latest service pack for Windows NT is available at
  219. http://support.microsoft.com/support/NTServer.
  220.  
  221. Before installing SQL Server 2000 software on Windows 95,
  222. you must install a Winsock 2 Update for Windows 95. This
  223. update is supplied on the SQL Server 2000 compact disc and 
  224. can be installed by selecting the SQL Server 2000
  225. Prerequisites option from the autorun window displayed by
  226. the SQL Server 2000 compact disc.
  227.  
  228. SQL Server 2000 is not supported on Windows NT 4.0
  229. Terminal Server.
  230.  
  231. For more information about the operating-system 
  232. requirements for the editions and components of SQL Server 
  233. 2000, see Hardware and Software Requirements for Installing
  234. SQL Server 2000 in either SQL Server Books Online or 
  235. the Microsoft SQL Server 2000 Introduction manual.
  236.  
  237. -----------------------------------------------------
  238. 2.2 Do Not Install Analysis Services to a DBCS Folder
  239. -----------------------------------------------------
  240. Analysis Services should not be installed to a folder that uses 
  241. characters from a double-byte character set (DBCS) in the path 
  242. or name. Install Analysis Services to a folder that uses only 
  243. single-byte characters in the path and name.
  244.  
  245. ----------------------------------------
  246. 2.3 Installing Analysis Services Samples
  247. ----------------------------------------
  248. To install the Analysis Services samples, you must install 
  249. Analysis Services from the SQL Server compact disc. The samples 
  250. are installed at 
  251. x:\Program Files\Microsoft Analysis Services\Samples.
  252.  
  253. -----------------------------------------------------------
  254. 2.4 Updating Statistics After Upgrading from SQL Server 7.0
  255. -----------------------------------------------------------
  256. After upgrading from SQL Server 7.0, run sp_updatestats 
  257. 'resample' to update the statistics on the user tables in your 
  258. databases.
  259.  
  260. ----------------------------------------------
  261. 2.5 Minimum SQL Server Installation Components
  262. ----------------------------------------------
  263. Full-Text Search is not included in a Minimum installation of
  264. SQL Server 2000.
  265.  
  266. -------------------------------------------------
  267. 2.6 Requirements for Active Directory Integration
  268. -------------------------------------------------
  269. To register an instance of Microsoft SQL Server 2000 in 
  270. Active Directory, the instance of SQL Server must be installed 
  271. on a computer running Microsoft Windows 2000 with the 
  272. Active Directory service enabled. The SQL Server service must 
  273. also be configured to run under either the Windows LocalSystem 
  274. account or a Windows domain account in the local administrators 
  275. group. This requirement must be met to add databases and 
  276. publications from the instance to Active Directory. Instances 
  277. of SQL Server 2000 configured to run under a power user account 
  278. do not have sufficient permissions to invoke all of the 
  279. SQL Server components required to work with Active Directory.
  280.  
  281. To register an Analysis server in Active Directory,
  282. MSSQLServerOLAPService must be installed on a computer running
  283. Windows 2000 with the Active Directory service enabled. 
  284. MSSQLServerOLAPService must also be configured to run under 
  285. either the Windows LocalSystem account or a Windows domain 
  286. account in the local administrators group.
  287.  
  288. ----------------------------------------
  289. 2.7 Silverston Samples Are Not Installed
  290. ----------------------------------------
  291. Microsoft SQL Server 2000 Enterprise Edition includes a license 
  292. for four popular database schema samples. Instructions for 
  293. installing these samples using the Setup program are provided 
  294. in the topic "Database Schema Samples"; however, Setup does 
  295. not install these samples. To install the database schema 
  296. samples, double-click Unzip_silverstondb.exe located at 
  297. \Devtools\Samples\Silverstondb on the SQL Server 2000 
  298. compact disc.
  299.  
  300. -----------------------------------
  301. 2.8 Installation Help on Windows 95
  302. -----------------------------------
  303. If you want to use Help during the installation of Client 
  304. Connectivity on Microsoft Windows 95, you may need to upgrade 
  305. to Microsoft Internet Explorer 5.0 and HTML Help 1.3. You can 
  306. update Internet Explorer and HTML Help by downloading the 
  307. latest versions from http://www.microsoft.com. The HTML Help 
  308. update file is named Hhupd.exe.
  309.  
  310. ----------------------------------------------------------
  311. 2.9 Installing SQL Server 2000 with SQL Server Version 6.5
  312. ----------------------------------------------------------
  313. SQL Server Books Online contains contradictory statements 
  314. about installing Microsoft SQL Server 2000 on a computer 
  315. running SQL Server version 6.5. The resulting installation 
  316. depends on whether you are installing a named instance or 
  317. a default instance of SQL Server 2000:
  318.  
  319. * If you install a default instance of SQL Server 2000 on a 
  320.   computer running an instance of SQL Server 6.5, the default 
  321.   instance of SQL Server 2000 becomes the accessible instance 
  322.   of SQL Server, and the SQL Server 2000 program group appears 
  323.   on the Start menu. The instance of SQL Server 6.5 is switched 
  324.   out, and the SQL Server 6.5 program group does not appear on 
  325.   the Start menu.
  326.  
  327.   You can run either the default instance of SQL Server 2000 
  328.   or the instance of SQL Server 6.5, but not both at the same 
  329.   time. To switch between the two versions of SQL Server, use 
  330.   the Microsoft SQL Server-Verswitch entry on the Start menu. 
  331.   When you switch from SQL Server 2000 to SQL Server 6.5, the 
  332.   instance of SQL Server 2000 becomes inactive, and the SQL 
  333.   Server 6.5 program group replaces the SQL Server 2000 program 
  334.   group on the Start menu. When you switch from SQL Server 6.5 
  335.   to SQL Server 2000, the process is reversed.
  336.  
  337. * If you install one or more named instances of SQL Server 2000 
  338.   on a computer running SQL Server 6.5 and there is no default 
  339.   instance of SQL Server 2000, the instance of SQL Server 6.5 
  340.   remains active as the default instance. Both the SQL Server 
  341.   2000 and SQL Server 6.5 program groups appear on the Start 
  342.   menu. You should use the SQL Server 6.5 tools to manage the 
  343.   default instance of SQL Server 6.5, and the SQL Server 2000
  344.   tools to manage the named instances of SQL Server 2000.
  345.  
  346. * If you install both named and default instances of SQL Server 
  347.   2000 on a computer running SQL Server 6.5, you can run the 
  348.   named instances of SQL Server 2000 at any time, but must 
  349.   version-switch between the default instance of SQL Server 2000
  350.   and the default instance of SQL Server 6.5. The SQL Server 
  351.   2000 program group always appears on the Start menu. The 
  352.   SQL Server 6.5 program group appears on the Start menu 
  353.   whenever you have version switched to make SQL Server 6.5 
  354.   the active default instance. The SQL Server 6.5 program 
  355.   group does not appear when you have version switched to make 
  356.   SQL Server 2000 the active default instance.
  357.  
  358. ***************************************************************
  359. 3.0 Documentation Notes
  360. ***************************************************************
  361. These are issues that arose after the SQL Server Books Online 
  362. documentation was completed.
  363.  
  364. -----------------------------------
  365. 3.1 SQL Server Core Component Notes
  366. -----------------------------------
  367. These notes relate to the SQL Server core components, including 
  368. the database engine, client components, connectivity components, 
  369. graphical tools, and command prompt utilities.
  370.  
  371. 3.1.1 Replication and Host Integration Server
  372.  
  373. The topic "Programming Replication from Heterogeneous Data 
  374. Sources" indicates that Microsoft Host Integration Server 2000 
  375. provides a replication Log Reader Agent for use with Microsoft 
  376. SQL Server 2000; however, Host Integration Server 2000 does not 
  377. provide a Log Reader Agent for use with SQL Server 2000.
  378.  
  379. 3.1.2 Backup/Restore APIs for Independent Software Vendors
  380.  
  381. Microsoft SQL Server 2000 is supported by a large number of 
  382. third-party backup solutions. SQL Server provides application 
  383. programming interfaces that enable independent software vendors 
  384. to integrate SQL Server into their products. These APIs provide 
  385. maximum reliability and performance, and support the full range 
  386. of SQL Server backup and restore functionality, including hot 
  387. and snapshot capabilities. For information about how your backup 
  388. solution integrates with SQL Server, contact your backup solution 
  389. vendor. For information about the Backup/Restore APIs, install 
  390. the "Backup/Restore API" subcomponent of the "Development Tools"
  391. component of SQL Server. To complete the installation of the 
  392. samples and the documentation, run Unzip_backup.exe, located at 
  393. C:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\
  394. Backup. 
  395. The documentation is provided in Vbackup.chm. 
  396.  
  397. 3.1.3 Executing DTS Custom Tasks Created in Visual Basic
  398.  
  399. To implement a Data Transformation Services (DTS) custom task in 
  400. Microsoft Visual Basic, you must execute the custom task on the 
  401. main thread. If the custom task is included in an Execute Package 
  402. task, the Execute Package task will also need to run on the main 
  403. thread. Similarly, if the custom task is manipulated (for example, 
  404. has one of its property values assigned) by a Dynamic Properties 
  405. task, the Dynamic Properties task will need to execute on the 
  406. main thread.
  407.  
  408. 3.1.4 Desktop Engine Setup Parameters
  409.  
  410. SQL Server Books Online topics "Merging the Desktop Engine into 
  411. Windows Installer" and "SQL Server 2000 Desktop Engine Setup" 
  412. document two parameters that are ignored by the final version 
  413. of the Desktop Engine Setup: USEDEFAULTSAPWD and SAPASSWORD.
  414.  
  415. By default, when run on the Microsoft Windows NT 4.0 or Windows 
  416. 2000 operating system, the Desktop Engine Setup configures the 
  417. installed instance of Microsoft SQL Server to use Windows 
  418. Authentication, and places the Windows local administrator's group 
  419. in the SQL Server sysadmin fixed server role. When running Desktop 
  420. Engine Setup on the Windows NT 4.0 or Windows 2000 operating 
  421. system, you can specify a SECURITYMODE=SQL parameter to have the 
  422. installed instance configured to use SQL Server Authentication 
  423. with a null sa password. When run on the Windows 98 operating 
  424. system, the Desktop Engine Setup always configures the installed 
  425. instance to use SQL Server Authentication, regardless of whether 
  426. or not SECURITYMODE=SQL is specified.
  427.  
  428. A set of Desktop Engine merge modules that have been merged into 
  429. a Windows Installer setup has the same behavior. On the Windows 
  430. NT 4.0 and Windows 2000 operating systems, the instance of SQL 
  431. Server is configured to use Windows Authentication if 
  432. SECURITYMODE=SQL is not specified, and is configured to use SQL 
  433. Server Authentication if SECURITYMODE=SQL is specified. The 
  434. instance is always configured to use SQL Server Authentication 
  435. on the Windows 98 operating system.
  436.  
  437. You can specify SECURITYMODE=SQL in the same locations where you 
  438. can use USEDEFAULTSAPWD or SAPASSWORD. For more information, see 
  439. the SQL Server Books Online topics "Merging the Desktop Engine 
  440. into Windows Installer" and "SQL Server 2000 Desktop Engine Setup."
  441.  
  442. 3.1.5 Adding Properties to DTS Custom Tasks
  443.  
  444. Because of the process Microsoft SQL Server 2000 uses to manage 
  445. DTS custom tasks, you must include both a Get and Let (or Set) 
  446. property procedure for all properties. Each property associated 
  447. with a custom task should consist of a pair of property 
  448. procedures: a property Get to retrieve the property value, and 
  449. a property Let (or Set) to assign a new value.      
  450.  
  451. 3.1.6 @@TRANCOUNT and COMMIT in Triggers
  452.  
  453. Microsoft SQL Server 2000 increments the transaction count within
  454. a statement only when the transaction count is 0 at the start of 
  455. the statement. In SQL Server version 7.0, the transaction count 
  456. is always incremented, regardless of the transaction count at 
  457. the start of the statement. This can cause the value returned by 
  458. @@TRANCOUNT in triggers to be lower in SQL Server 2000 than it 
  459. is in SQL Server version 7.0. 
  460.  
  461. In SQL Server 2000, if a COMMIT TRANSACTION or COMMIT WORK 
  462. statement is executed in a trigger, and there is no corresponding 
  463. explicit or implicit BEGIN TRANSACTION statement at the start 
  464. of the trigger, users may see different behavior than on 
  465. SQL Server version 7.0. Placing COMMIT TRANSACTION or COMMIT 
  466. WORK statements in a trigger is not recommended.
  467.  
  468. 3.1.7 Behavior of Wildcard and Escape Characters
  469.  
  470. Wildcard characters and escape characters have these additional 
  471. behaviors in the LIKE operator in Microsoft SQL Server 2000:
  472.  
  473. * Within the '[]' characters that delimit a single character 
  474.   range, the wildcard characters '%', '_', and '[' do not 
  475.   operate as wildcards.
  476.  
  477. * Within the '[]' characters that delimit a single character 
  478.   range, escape characters can be used, and the characters 
  479.   '^', '-',   and ']' can be escaped.
  480.  
  481. * If there is no character after an escape character in the 
  482.   LIKE pattern, the pattern is invalid and LIKE returns FALSE.
  483.  
  484. * If the character after an escape character is not a wildcard, 
  485.   the escape character is discarded and the character following 
  486.   the escape is treated as regular character in the pattern. 
  487.   This includes the wildcard characters '%', '_', and '[' when 
  488.   they are enclosed in the '[]' characters that delimit a single 
  489.   character range.
  490.  
  491. 3.1.8 Changing the SQL Server Agent Service Account 
  492.  
  493. If you are running Microsoft Windows NT 4.0 and Windows 2000, 
  494. and you select to change the SQL Server Agent service account 
  495. for Microsoft SQL Server to a non-administrator account, you 
  496. must add the non-Administrator account to the sysadmin server 
  497. role in SQL Server. If you do not add the account, the 
  498. SQL Server Agent service account will not be able to log in 
  499. to SQL Server.
  500.  
  501. The SQL Server Agent service must be running under a 
  502. Windows NT 4.0 or Windows 2000 administrator account to use 
  503. non-integrated security to connect to SQL Server. SQL Server 
  504. must be running under a Windows NT or Windows 2000 administrator 
  505. account to set the SQL Server Agent connection option to 
  506. non-integrated security.
  507.  
  508. If you change the SQL Server service account to a Windows NT 4.0 
  509. or Windows 2000 non-administrator account, and you are switching 
  510. between SQL Server 6.5 and SQL Server 2000, it is possible for 
  511. you to lose access to the SQL Server 6.5 service account. For 
  512. example, if you change the SQL Server 2000 service account to 
  513. a non-administrator account on Windows NT 4.0 or Windows 2000, 
  514. and then switch to SQL Server 6.5, you will not have access to 
  515. the computer running SQL Server 6.5. You must use Control Panel 
  516. to change the SQL Server service account back to a Windows NT 
  517. or Windows 2000 administrator account.
  518.  
  519. If you have a default instance of SQL Server 7.0 and a named 
  520. instance of SQL Server 2000 on the same computer, and you manage 
  521. the default instance of SQL Server 7.0 using SQL Server Enterprise 
  522. Manager in SQL Server 7.0, you may be unable to switch the 
  523. service account on the named instance of SQL Server 2000. For 
  524. example, if both instances are running using the same 
  525. non-administrator account for the SQL Server service, and you 
  526. change the instance of SQL Server 7.0 to a different account, you 
  527. may not be able to change the service account on the instance of 
  528. SQL Server 2000. The ability to impersonate an administrator has 
  529. been lost on this account because the instance of SQL Server 7.0 
  530. and the instance of SQL Server 2000 both have the same 
  531. non-administrator account. To correct this, use Control Panel 
  532. on the instance of SQL Server 2000 to change the SQL Server 
  533. service account to a Windows NT or Windows 2000 administrator 
  534. account. After restarting the service, you can change the service 
  535. account to any other account on the computer running 
  536. SQL Server 2000. 
  537.  
  538. 3.1.9 Adding Pure Unicode Error Messages
  539.  
  540. The Manage SQL Server Messages dialog box does not support 
  541. adding pure Unicode messages to the sysmessages table. To add 
  542. such messages, use the sp_addmessage stored procedure. Be 
  543. sure to use the N prefix on the 'msg' parameter (for example, 
  544. @msgtext = N'xxx').
  545.  
  546. 3.1.10  DTS Using ActiveX Scripting After Uninstalling 
  547.         SQL Server 7.0
  548.  
  549. To use Microsoft ActiveX scripting in Microsoft SQL Server 2000 
  550. after uninstalling SQL Server 7.0, you must re-register the 
  551. ActiveX scripting library (Axscphst.dll). Use the Regsvr32.exe 
  552. registration utility and execute the following command 
  553. (substituting your own drive letter) from MS-DOS or the Windows 
  554. Run command: 
  555. regsvr32.exe C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
  556. axscphst.dll 
  557.  
  558. If the registration is successful, a message box appears 
  559. indicating that Axscphst.dll is registered properly. 
  560.  
  561. 3.1.11 Removing Secondary Databases for Log Shipping 
  562.  
  563. If all secondary databases configured for log shipping have been 
  564. removed from the secondaries themselves, the database maintenance 
  565. plan for log shipping can no longer be used to add the secondary 
  566. databases back to the plan. The database maintenance plan for 
  567. log shipping must be removed and configured again for log 
  568. shipping to work on the secondary databases. 
  569.  
  570. 3.1.12 ODBC API: SQLGetConnectAttr
  571.  
  572. The behavior of SQL_ATTR_CONNECTION_DEAD and 
  573. SQL_COPT_SS_CONNECTION_DEAD in Microsoft SQL Server 2000 is 
  574. different from the behavior in earlier versions of SQL Server. 
  575. In SQL Server 2000, SQL_ATTR_CONNECTION_DEAD returns the most 
  576. recent state of the connection, which may not be the current 
  577. connection state. However, SQL_COPT_SS_CONNECTION_DEAD will 
  578. always query the Net-Library for the current state of the 
  579. connection.
  580.  
  581. To differentiate between these behaviors, 
  582. SQL_COPT_SS_CONNECTION_DEAD is given a new value in the 
  583. SQL Server 2000 include files. Applications using this attribute 
  584. that are built using the SQL Server 2000 headers will return an 
  585. error (HY092, Invalid attribute/option identifier) if the 
  586. applications are run using a SQL Server 7.0 driver. It is 
  587. recommended that the application check the version of driver 
  588. being used before calling SQLGetConnectAttr, and then use 
  589. SQL_ATTR_CONNECTION_DEAD in place of SQL_COPT_SS_CONNECTION_DEAD 
  590. if the application is running on a SQL Server 7.0 driver.
  591.  
  592. 3.1.13 Connecting Early Version Clients to Named Instances
  593.  
  594. The SQL Server Books Online topic "Working with Named and 
  595. Multiple Instances of SQL Server 2000" states that you must use 
  596. SQL Server 2000 client components to connect to named instances 
  597. of SQL Server 2000. However, the SQL Server version 7.0 Client 
  598. Network Utility can be used to configure a server alias name 
  599. that the SQL Server version 7.0 client components can use to 
  600. connect to a named instance of SQL Server 2000. This is 
  601. documented in the SQL Server Books Online topics "SQL Server 
  602. 2000 and SQL Server version 7.0" and "Communicating with 
  603. Multiple Instances."
  604.  
  605. 3.1.14 SQL Server Sometimes Cannot Open Static IP Port Addresses
  606.  
  607. When an instance of Microsoft SQL Server is configured to listen 
  608. on a static IP port (such as a default instance that takes the 
  609. default of listening on port 1433), the SQL Server service cannot 
  610. open the port if another application or component is using the 
  611. port when the SQL Server service initializes. The TCP/IP server 
  612. Net-Library will not initialize, and the instance of SQL Server 
  613. cannot accept TCP/IP connections until the service is stopped 
  614. and restarted. This problem should not occur if the instance of 
  615. SQL Server is configured to use a dynamic port address by 
  616. specifying a port address of 0 using the Server Network Utility. 
  617. If you cannot use dynamic port addresses (for example, when 
  618. SQL Server connections must pass through a firewall server
  619. configured to pass through specific port addresses, or when some
  620. connections are made using the client components from SQL Server
  621. version 7.0 or earlier), then using a port address less than 1024 
  622. is recommended. Choose a port in this range that is not used 
  623. by the operating system or another application.
  624.  
  625. 3.1.15 SQLSetConnectAttr and the Connection Attribute
  626.        SQL_COPT_SS_PRESERVE_CURSORS
  627.  
  628. SQL_COPT_SS_PRESERVE_CURSORS defines the behavior of cursors 
  629. when manual-commit mode is used. The behavior is exposed as 
  630. transactions are either committed or rolled back using SQLEndTran.
  631.  
  632. SQL_PC_OFF: Default. Cursors are closed when transaction is 
  633. committed or rolled back using SQLEndTran.
  634.  
  635. SQL_PC_ON: Cursors are not closed when transaction is committed 
  636. or rolled back using SQLEndTran, except when using a static or 
  637. keyset cursor in asynchronous mode, if a rollback is issued 
  638. while the population of the cursor is not complete, the cursor 
  639. is closed.
  640.  
  641. 3.1.16 SQLEndTran
  642.  
  643. When SQLEndTran commits or rolls back an operation, the behavior 
  644. of the statement's associated cursor is determined by the value 
  645. of the driver-specific ODBC connection attribute 
  646. SQL_COPT_SS_PRESERVE_CURSORS, set by SQLSetConnectAttr.
  647.  
  648. 3.1.17 Permissions for Active Directory Integration
  649.  
  650. In Microsoft SQL Server 2000, only members of the sysadmin 
  651. fixed server role can register databases or publications in 
  652. Active Directory; members of the dbowner fixed database role 
  653. cannot.
  654.  
  655. 3.1.18 srv_pfield (Extended Stored Procedures Programming)
  656.  
  657. The SRV_PWD field is no longer supported. Do not write 
  658. extended stored procedures that use this field.
  659.  
  660. 3.1.19 Using the MSX Wizard with Windows Authentication
  661.  
  662. If you are using the Make Master Server Wizard (MSX) on a 
  663. computer configured with Windows Authentication, you must 
  664. restart the computer. This is because the wizard requires Mixed 
  665. Mode Authentication (Windows Authentication and SQL Server 
  666. Authentication). The wizard will change the authentication mode 
  667. for you, but you must then restart Microsoft SQL Server and 
  668. SQL Server Agent on the master server.
  669.  
  670. 3.1.20 Updating a Table on a Linked Server
  671.  
  672. You cannot update a table on a linked server through a view. 
  673. This is true for any linked server, regardless of the provider.
  674.  
  675. 3.1.21 Effects of Locking Hints on READ_ONLY Cursors
  676.  
  677. The UPDLOCK and TABLOCKX locking hints no longer raise errors 
  678. on READ_ONLY cursors. Instead, the effects are identical to 
  679. the effects on OPTIMISTIC cursors. UPDLOCK causes the cursor 
  680. to acquire update scroll locks, and TABLOCKX is ignored for 
  681. the purposes of scroll locks.
  682.  
  683. 3.1.22 Adding Dependencies to the SQL Server Resource
  684.  
  685. If you install SQL Server 2000 into a Windows 2000 or 
  686. Windows NT cluster group with multiple disk drives and choose 
  687. to place your data on one of the drives, the SQL Server 
  688. resource is set to be dependent only on that drive. To put 
  689. data or logs on another disk, you must first add a dependency 
  690. to the SQL Server resource for the additional disk.
  691.  
  692. To add a new disk (for example, disk K) to the SQL Server 
  693. dependencies:
  694.  
  695. 1. Open Cluster Administrator in Administrative Tools.
  696.  
  697. 2. Locate the group that contains the applicable SQL Server 
  698.    resource.
  699.  
  700. 3. If the resource for disk K is already in this group, go to 
  701.    Step 4. Otherwise, locate the group that contains disk K. 
  702.    If that group and the group that contains SQL Server are 
  703.    not owned by the same node, move the group containing the 
  704.    resource for disk K to the node that owns the SQL Server 
  705.    group.
  706.  
  707. 4. Select the SQL Server resource, open the Properties dialog 
  708.    box, and use the Dependencies tab to add disk K to the set 
  709.    of SQL Server dependencies.
  710.  
  711. 3.1.23 Upgrading from MSDE 1.0 to SQL Server 2000 
  712.        Desktop Engine
  713.  
  714. To upgrade from MSDE 1.0 to SQL Server 2000 Desktop Engine:
  715.  
  716. * If you are using Setup.exe, you must specify UPGRADE=1 as 
  717.   a command prompt switch. For more information about the 
  718.   Setup.exe command prompt switches, see "SQL Server 2000 
  719.   Desktop Engine Setup" in SQL Server Books Online. 
  720.   Or
  721.   If you are using the Desktop Engine merge files in a Windows 
  722.   Installer setup, you must specify UPGRADE=1 with the other 
  723.   Desktop Engine entries in the [Options] section of your 
  724.   Windows Installer .ini file. For more information about 
  725.   the Desktop Engine Windows Installer entries, see "Merging 
  726.   the Desktop Engine into Windows Installer" in SQL Server 
  727.   Books Online.
  728.  
  729. * You must provide a custom installation package file built 
  730.   using SampleUpg.msi. For more information about 
  731.   SampleUpg.msi, see "Managing Desktop Engine Installation 
  732.   Package Files" in SQL Server Books Online.
  733.  
  734. 3.1.24 Microsoft Search Service
  735.  
  736. A note in the Creating and Maintaining Databases topic, 
  737. Full-Text Indexes, contains incorrect information about 
  738. Microsoft Search service. Here is the correct information:
  739.  
  740. The Microsoft Search service is supported on Microsoft 
  741. Windows NT and Windows 2000, but not on Windows 98. 
  742. The Microsoft Search service can be installed with 
  743. Microsoft SQL Server 2000 Personal Edition.
  744.  
  745. 3.1.25 References to Windows 95
  746.  
  747. A few SQL Server Books Online topics incorrectly refer to 
  748. these configurations:
  749.  
  750. * Running instances of Microsoft SQL Server 2000 on computers 
  751.   running Microsoft Windows 95.
  752.  
  753. * Running the SQL Server 2000 tools and utilities on computers 
  754.   running Windows 95.
  755.  
  756. The Books Online topic "SQL Server 2000 on Windows 98" 
  757. correctly states that the SQL Server utilities and tools 
  758. are not supported on Windows 95. Likewise, the topic 
  759. "Server Components" correctly states that the SQL Server 
  760. 2000 database engine and other server components are not 
  761. supported on Windows 95.
  762.  
  763. You can install the client-connectivity components on 
  764. Windows 95, which allow applications to access instances of 
  765. SQL Server 2000 on other computers.
  766.  
  767. 3.1.26 Full-Text Catalogs Inaccessible After Changing 
  768.        SQL Server Account
  769.  
  770. Changing Microsoft SQL Server to run under a non-administrator 
  771. account causes existing full-text catalogs to be inaccessible. 
  772. Either rebuild and perform a full population of all catalogs 
  773. belonging to this instance of SQL Server, or switch back to 
  774. an account with administrator permissions.
  775.  
  776. 3.1.27 Recommendations for Designing Distributed Partitioned 
  777.        Views
  778.  
  779. In designing a partitioning scheme, it must be clear what data 
  780. belongs to each partition. The partitioning column cannot be an 
  781. identity, default, or timestamp column. There are no restrictions 
  782. on the updatability of the partitioning column.
  783.  
  784. -----------------------------------------------
  785. 3.2 SQL Server Books Online Functionality Notes
  786. -----------------------------------------------
  787. These are issues that relate to the functionality of SQL Server 
  788. Books Online.
  789.  
  790. 3.2.1 Link to MDAC and XML Documentation Does Not Work
  791.  
  792. When SQL Server Books Online is opened using F1 or the Help menu 
  793. in an MMC snap-in (such as SQL Server Enterprise Manager), the 
  794. link to the MDAC and XML documentation does not work. To view 
  795. the MDAC and XML documentation, open Mdacxml.chm located in 
  796. C:\Program Files\Microsoft Sql Server\80\Tools\Books.
  797.  
  798. NOTE: The link works correctly when SQL Server Books Online 
  799. is started directly from the SQL Server Program Group on the 
  800. Start menu, or from running Sql80.col.
  801.  
  802. 3.2.2 Printing Limitations
  803.  
  804. If you are using Microsoft Internet Explorer version 5.5, 
  805. printing with the "Print the selected headings and all 
  806. subtopics" option is not recommended.
  807.  
  808. If you are using Internet Explorer 5.0 or Internet Explorer 5.5,
  809. linked topics may not always print when the "Print all linked 
  810. documents" option is selected in the Print dialog box.
  811.  
  812. -----------------
  813. 3.3 English Query
  814. -----------------   
  815. These are issues in English Query that are not reflected in the 
  816. documentation.
  817.      
  818. 3.3.1 SaveProjectToXMLDom Method  
  819.  
  820. The syntax for this method should be:
  821.       Set variable = EQModel.SaveProjectToXMLDOM
  822. where variable is a returned XMLDOMDocument object to which the 
  823. project is saved.
  824.  
  825. 3.3.2 Automatic Clarification of Questions Feature
  826.  
  827. The InputList object has the following additional properties to 
  828. support the Automatic Clarification of Questions feature. The 
  829. properties are read-only, optional, and of the variant data type:
  830.  
  831. * LookupQueries
  832.   Returns an array of QueryCmd objects of the size specified in 
  833.   ItemCount, or is NULL. Each LookupQuery corresponds to an item 
  834.   in the Items array. If the query returns no rows, the 
  835.   corresponding item may not be the correct default choice for 
  836.   the InputList object.  
  837.  
  838.   For example, for the question "How many awards did John 
  839.   Fortune win?", an English Query application might not have 
  840.   "John Fortune" in its dictionary; therefore, a 
  841.   UserClarification Response is returned containing an InputList 
  842.   with the text, "Which of these do you mean by John Fortune?" 
  843.   The choices are: the name of an actor, which selects actors 
  844.   named John Fortune, or the name of a movie, which selects 
  845.   movies named John Fortune. A LookupQuery is associated 
  846.   with each choice. If only one of these queries returns rows, 
  847.   the client application can use the corresponding item as the 
  848.   user selection for the InputList, and can respond to the 
  849.   UserClarificationResponse without user intervention.
  850.  
  851.   NOTE: LookupQueries cannot be generated for some InputList 
  852.   objects. For these objects, each LookupQuery in the array 
  853.   is NULL.
  854.  
  855. * EntityIDs Property
  856.   Returns an array of EntityIDs of the size specified in ItemCount. 
  857.   Each EntityID corresponds to an item in the Items array. If the 
  858.   choice in the Items array is an entity (for example, the name of 
  859.   an actor), the EntityID contains the ID of that entity 
  860.   (for example, author_name). If the choice in the Items array is 
  861.   not an entity (for example, First Name), the EntityID is empty.
  862.  
  863. The InputText object has an additional property to support the 
  864. Automatic Clarification of Questions feature:
  865.  
  866. * LookupQueries is a read-only, optional property of the variant 
  867.   data type and can be NULL. LookupQueries is a collection of 
  868.   QueryCmds objects that are used to determine a default value for 
  869.   the InputText object.
  870.  
  871.   For example, for the question "List the old people", the English 
  872.   Query application might not have a threshold specified for "old". 
  873.   A UserClarificationResponse is returned containing an InputText 
  874.   with the text, "An old person is a person whose age is over ___." 
  875.   The LookupQuery selects the median age. The client application 
  876.   can choose to use the returned value as the response to the 
  877.   InputText and can respond to the UserClarificationResponse 
  878.   without user intervention.
  879.  
  880.   NOTE: LookupQueries cannot be generated for some InputText 
  881.   objects. For these objects, the LookupQuery collection is empty.
  882.  
  883. ---------------------
  884. 3.4 Analysis Services
  885. ---------------------
  886. These are issues in Analysis Services that are not reflected in 
  887. the documentation.
  888.  
  889. 3.4.1 Before Registering Analysis Services Performance Monitoring
  890.       Counters on Windows NT 4.0
  891.  
  892. Analysis Services performance monitoring counters are installed
  893. to your hard disk during setup, but on Microsoft Windows NT 4.0
  894. they are not registered automatically because of a problem with
  895. some versions of Windows NT 4.0. Before using the manual 
  896. instructions documented in the SQL Server Books Online topic, 
  897. "Monitoring Analysis Services Performance" to register the 
  898. counters on Windows NT 4.0, review Microsoft Knowledge Base 
  899. article Q242472 for more information. You may need to move 
  900. the file Msmdctr80.dll to a different folder to meet the 
  901. requirements listed in the article. On Microsoft Windows 2000,
  902. the performance counters are installed and registered 
  903. automatically during setup.
  904.  
  905. 3.4.2 Distinct Count Aggregate Function
  906.     
  907. The Analysis Services topic "Specifications and Limits" 
  908. incorrectly identifies the restrictions on the Distinct Count 
  909. aggregate function. The Distinct Count aggregate function 
  910. requires the measure to be numeric.
  911.  
  912. In the Analysis Services topic "Indexed Views for ROLAP 
  913. Partitions," the first bullet item should read: "The partition 
  914. cannot contain measures that use the aggregate functions Min, 
  915. Max, or Distinct Count."
  916.  
  917. 3.4.3 UPDATE CUBE Statement
  918.  
  919. In the Analysis Services topic "UPDATE CUBE Statement," the BNF 
  920. for the statement incorrectly indicates that multiple cells can 
  921. be updated in a single statement. Only a single cell can be 
  922. updated in each UPDATE CUBE statement.
  923.  
  924. 3.4.4 Process Databases After Upgrading from Beta 2
  925.  
  926. If you upgrade from the Beta 2 release of Analysis Services, 
  927. process all upgraded databases to ensure correct data 
  928. conversion.